<?php #//AJAX PHP PENNY AUCTION v.1.1

#///////////////////////////////////////////////////////////
#//  COPYRIGHT 2009 Aaron Helmlinger ALL RIGHTS RESERVED  //
#///////////////////////////////////////////////////////////
?>

 <script language="JavaScript">

    function RequiredFields(id,id2) {
    
 if (document.getElementById(id).value=="")
 {           

document.getElementById(id).style.border='solid 1px red';
document.getElementById(id2).innerHTML = '<font color=red size=-2>Required Field</font><br>';
                           
                     } 
                   }
             
             
                function RequiredFields2(id,id2) {
    
 if (document.getElementById(id).value!="")
 {        
document.getElementById(id).style.border='solid 1px #bbbbbb';
document.getElementById(id2).innerHTML = '';  
                                        
                     } 
                   }
                   
                   
                   function passwordChanged() {
var strength = document.getElementById('strength');

//var strongRegex = new RegExp("^(?=.{8,})(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9])(?=.*\W).*$", "g");



var strongRegex = new RegExp("^(?=.{8,})(((?=.*[A-Z])(?=.*[a-z]))|((?=.*[A-Z])(?=.*[0-9]))|((?=.*[a-z])(?=.*[0-9]))).*$", "g");

var mediumRegex = new RegExp("^(?=.{7,})(((?=.*[A-Z])(?=.*[a-z]))|((?=.*[A-Z])(?=.*[0-9]))|((?=.*[a-z])(?=.*[0-9]))).*$", "g");

var enoughRegex = new RegExp("(?=.{6,}).*", "g");


var pwd = document.getElementById("5");
if (pwd.value.length==0) {
strength.innerHTML = 'Six (6) Characters Min.';
} else if (false == enoughRegex.test(pwd.value)) {
strength.innerHTML = '<span class=BOLDTEXT><span style="color:red">More Characters Needed!</span></span>';
} else if (strongRegex.test(pwd.value)) {
strength.innerHTML = '<span class=BOLDTEXT><span style="color:green">Strong!</span></span>';
} else if (mediumRegex.test(pwd.value)) {
strength.innerHTML = '<span class=BOLDTEXT><span style="color:orange">Medium!</span></span>';
} else {
strength.innerHTML = '<span class=BOLDTEXT><span style="color:red">Weak!</span></span>';
}


         }          
                         
                     
function passwordCheck() {
  var password1=document.getElementById('5').value;
    var password2=document.getElementById('6').value;


                   if ( password1 === password2 ) {

        document.getElementById('password_match').innerHTML = '<span style="color:green">Passwords Match!</span>';

       }
       
       
        if ( password1 != password2 ) {

        document.getElementById('password_match').innerHTML = '<span style="color:red">Passwords DO NOT Match!</span>';

       }

        }
            
              
              
                             
function termcheck() {
  var password1=document.getElementById('13').checked;
    var password2=document.getElementById('14').checked;


                   if ( password1 == false) {

       alert('Please Check The Terms & Conditions Box');
            return (false);
       }
       
       
        if ( password2 == false) {

         alert('Please Check The Privacy Policy Box');
                return (false);
       }
               
               return (true);
        }
        
        
        function emailCheck() {
  
  
  
  var password1=document.getElementById('7').value;
    var password2=document.getElementById('7b').value;


                   if ( password1 === password2 ) {

        document.getElementById('email_match').innerHTML = '<span style="color:green">Emails Match!</span>';

       }
       
       
        if ( password1 != password2 ) {

        document.getElementById('email_match').innerHTML = '<span style="color:red">Emails DO NOT Match!</span>';

       }

        }
            
            
 function usernameAjaxFunction(value1)
{
var xmlhttp;
if (window.XMLHttpRequest)
  {
  // code for IE7+, Firefox, Chrome, Opera, Safari
  xmlhttp=new XMLHttpRequest();
  }
else
  {
  // code for IE6, IE5
  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  }
xmlhttp.onreadystatechange=function()
{
if(xmlhttp.readyState==4)
  {
  
  
  var na=xmlhttp.responseText;
  

  
            if ( na != 1 )       {
  
      
           document.getElementById('username25').innerHTML='<span class=BOLDTEXT><span style="color:green">Available!</span></span>';     
    
                   }
   
           if ( na == 1 )       {
   
        document.getElementById('username25').innerHTML='<span class=BOLDTEXT><span style="color:red">Not Available!</span></span>'; 
  
            }
  
  
  
  }
}

value2 = "nick_lookup.php?nick=" + value1 + "";




xmlhttp.open("GET",value2,true);
xmlhttp.send(null);
}           
            
            
            
                   </script>
                   
                   
                   
                   

<BR>
<table width="95%" border=0 cellpadding=4 cellspacing=1 align=center>
<TR>
<TD>
<FIELDSET><LEGEND>

<span class=PAGE_HEADER >&nbsp;Sign-Up FREE!&nbsp;</span>
</LEGEND>
        

        <?
        if(!empty($TPL_errmsg)) {
        ?><BR> 
        <div class=errfont>
           <?=$TPL_errmsg?>
        </div>
        <?
        }
		?>

 <div class="EDITDATA3">

              
 
            <form name=registration action="register.php" method="POST" onsubmit="return termcheck();">
                <table width="90%" border="0" cellpadding="4" cellspacing=0>
                          
                
                    <?
                    if($SETTINGS['accounttype'] == 'sellerbuyer') {
					?>
					
					
					
                    <tr>
                        <td width="40%" valign="top" align="right"><b><? print $MSG_25_0133; ?></b></td>
                        <td width="60%">
                            <input type=radio name=accounttype value='seller' <?if($_POST['accounttype'] == 'seller') print " checked=true";?> />
                            <?=$MSG_25_0134?>
                            <?
                            if($SETTINGS['sbsignupconfirmation'] == 's' || $SETTINGS['sbsignupconfirmation'] == 'sb') {
                            	print "<P class=errfont>$MSG_25_0136</p>";
                            }
							?>
                            <br />
                            <input type=radio name=accounttype value='buyer' <?if($_POST['accounttype'] == 'buyer') print " checked=true";?> />
                            <?=$MSG_25_0135?>
                            <?
                            if($SETTINGS['sbsignupconfirmation'] == 'b' || $SETTINGS['sbsignupconfirmation'] == 'sb') {
                            	print "<P class=errfont>$MSG_25_0136</p>";
                            }
							?>
                        </td>
                    </tr>
                    <?
                    }
					?>
					
					            <tr>
                        <td width="40%" valign="top" align="right"><font COLOR=#3c5a00 size=+1></TD>
                                <td width="60%" align=left>
                              				 <font COLOR=#3c5a00 >
                        <span class=BOLDTEXT>Note: All Fields Are Required.</font></span>   
                         </td>  </TR>
                        
	
                        
                        
                    <tr>
                        <td width="40%" valign="top" align="right"><font COLOR=#3c5a00 size=+1>
                        <span class=BOLDTEXT><? print $MSG_002; ?></font></span>  </td>
                        
                            
                             <td width="60%" align=left>
                          <HR width=60% align=left color=#3c5a00>   
                         </td>  </TR>            
                            
                            
                            
                            
                            
                        <tr>
                        <td width="40%" valign="top" align="right"><b> 
                        
                        
                        Surname
                         </td>                  
                         <td width="60%">
                   <span id=1a>  </span>     
              <SELECT id=1 NAME="TPL_surname" style="width:206px; font-family:Arial, Helvetica, sans-serif; font-size:12px; font-weight:normal; color:#000000;" onmouseover=RequiredFields('1','1a'); onmouseout=RequiredFields2('1','1a');>
<OPTION VALUE="<?=$_POST[TPL_surname]?>"><?=$_POST[TPL_surname]?> 
<OPTION VALUE=Mr.>Mr.
<OPTION VALUE=Mrs.>Mrs.
<OPTION VALUE=Ms.>Ms.
<OPTION VALUE=Dr.>Dr.
</SELECT>     

     </td>  </TR>
                        <tr>
                        <td width="40%" valign="top" align="right"><b> 
                        
  First                          
               </td>                  
                         <td width="60%">
<span id=2a>  </span>
 <INPUT TYPE=text id=2 onmouseout=RequiredFields('2','2a'); onkeyup=RequiredFields2('2','2a'); class=EDITDATA2 NAME=TPL_first_name SIZE=12 MAXLENGTH=255 VALUE="<?=$_POST[TPL_first_name]?>" />



           </td>  </TR>
                        <tr>
                        <td width="40%" valign="top" align="right"><b> 
                   

           Last

            </td>                  
                         <td width="60%">

<span id=3a>  </span>

 <INPUT TYPE=text id=3 onmouseout=RequiredFields('3','3a'); onkeyup=RequiredFields2('3','3a'); class=EDITDATA2 NAME=TPL_last_name SIZE=20 MAXLENGTH=255 VALUE="<?=$_POST[TPL_last_name]?>" />

   
                        
                        
                        
                        
                        
                <tr>
                        <td width="40%" valign="top" align="right"><font COLOR=#3c5a00 size=+1>
                        <span class=BOLDTEXT>Username & Password</font></span>  </td>
                        
                              <td width="60%" align=left>
                          <HR width=60% align=left color=#3c5a00>   
                         </td>  </TR>            
                            
                            
                            
                            
                            
                        </td>
                    </tr>
                    <tr>
                        <td width="40%" valign="top" align="right"><b> <? print $MSG_003; ?> </b> </td>
                        <td width="60%">
                        <span id=4a>  </span>
                            <input type=text id=4 onmouseout=RequiredFields('4','4a'); onkeyup="RequiredFields2('4','4a'); usernameAjaxFunction(this.value);"" class=EDITDATA2 name=TPL_nick size=20 maxlength=20  value="<?=$_POST[TPL_nick]?>" />
                     
                            <span id="username25" >(6) Six Characters Min.</span></td>
                    </tr>
                    <tr>
                        <td width="40%" valign="top" align="right"><b> <?print $MSG_004;?> </b> </td>
                        <td width="60%">
                        <span id=5a>  </span>
                            <input type=password id=5 onmouseout=RequiredFields('5','5a'); onkeyup="RequiredFields2('5','5a'); return passwordChanged();" name=TPL_password size=20 maxlength=20 value="" /> <span id="strength">(6) Six Characters Min.</span>  
                          <!--  <BR>Minimum password length is only six (6) characters. However, to be classified as "strong" by our system, your password needs to be at least eight (8) characters long with at least one (1) each of the following: capital letter, number and special character. The remainder can be lowercase letters. --></td>
                    </tr>
                    <tr>
                        <td width="40%" valign="top" align="right"><b> Repeat Password </b> </td>
                        <td width="60%">
                        <span id=6a>  </span>
                            <input type=password id=6 onmouseout=RequiredFields('6','6a'); onkeydown=RequiredFields2('6','6a'); onkeyup=passwordCheck(); name=TPL_repeat_password size=20 maxlength=20 value="" /> <span class=BOLDTEXT><span id="password_match"></span>  </span>
                        </td>
                    </tr>
          
          
                   <tr>
                        <td width="40%" valign="top" align="right"><font COLOR=#3c5a00 size=+1>
                        <span class=BOLDTEXT>Email Address</font></span>  </td>
                        
                              <td width="60%" align=left>
                          <HR width=60% align=left color=#3c5a00>   
                         </td>  </TR> 
          
          
                    <tr>
                        <td width="40%"  valign="top" align="right"><b>Email</B></td>
                        <td width="60%">
                        <span id=7a>  </span>
                            <input type=text id=7 onmouseout=RequiredFields('7','7a'); onkeydown=RequiredFields2('7','7a'); class=EDITDATA2 name=TPL_email size=50 maxlength=50 value="<?=$_POST[TPL_email]?>" />
				
        
        
        	<?
						if(!empty($TPL_domains_alert)){
							print "<BR />".$TPL_domains_alert;
						}
					?>
                        </td>
                    </tr>
					
					                      
                    <tr>
                        <td width="40%"  valign="top" align="right"><b>Repeat Email</B></td>
                        <td width="60%">
                        <span id=7bb>  </span>
                            <input type=text id=7b onmouseout=RequiredFields('7b','7bb'); onkeydown=RequiredFields2('7b','7bb'); onkeyup=emailCheck(); class=EDITDATA2 name=TPL_email2 size=50 maxlength=50 value="<?=$_POST[TPL_email]?>" /><span class=BOLDTEXT> <span id="email_match"></span>  </span>
				
        
        
        	<?
						if(!empty($TPL_domains_alert)){
							print "<BR />".$TPL_domains_alert;
						}
					?>
                        </td>
                    </tr>
					
	
  
          <tr>
                        <td width="40%" valign="top" align="right"><font COLOR=#3c5a00 size=+1>
                        <span class=BOLDTEXT>Mailing Address</font></span>  </td>
                        
                              <td width="60%" align=left>
                          <HR width=60% align=left color=#3c5a00>   
                         </td>  </TR>            
                            
                            
  				
                    
                    <tr>
                        <td width="40%" valign="top" align="right"><b> Address / P.O. Box </b> </td>
                        <td width="60%">
                        <span id=9a>  </span>
                            <input type=text id=9 onmouseout=RequiredFields('9','9a'); onkeyup=RequiredFields2('9','9a'); class=EDITDATA2 name=TPL_address size=40 maxlength=255 value="<?=$_POST[TPL_address]?>" />
                        </td>
                    </tr>
					
					
					                      <tr>
                        <td width="40%" valign="top" align="right"><b>Apartment / Suite #</b> </td>
                        <td width="60%">
                        <span id=99a>  </span>
                            <input type=text id=99 class=EDITDATA2 name=TPL_address2 size=40 maxlength=255 value="<?=$_POST[TPL_address2]?>" />
                        </td>
                    </tr>
                    
                    
					
                    <tr>
                        <td width="40%" valign="top" align="right"><b> City </b> </td>
                        <td width="60%">
                        <span id=10a>  </span>
                            <input type=text id=10 onmouseout=RequiredFields('10','10a'); onkeyup=RequiredFields2('10','10a'); class=EDITDATA2 name=TPL_city size=25 maxlength=25 value="<?=$_POST[TPL_city]?>" />
                        </td>
                    </tr>
					
					        <tr>
                        <td width="40%" valign="top" align="right"><b> State </b> </td>
                        <td width="60%">
           <span id=11a>  </span>             
          <select name="TPL_prov" id=11 onmouseover=RequiredFields('11','11a'); onmouseout=RequiredFields2('11','11a'); style="width:206px; font-family:Arial, Helvetica, sans-serif; font-size:12px; font-weight:normal; color:#000000;">
                                                                    <option value="<?=$_POST[TPL_prov]?>"><?=$_POST[TPL_prov]?>                                                                    <option value="AK" >AK<option value="AL" >AL<option value="AR" >AR<option value="AZ" >AZ<option value="CA" >CA
                                                                    <option value="CO" >CO<option value="CT" >CT<option value="DC" >DC<option value="DE" >DE<option value="FL" >FL
                                                                    <option value="GA" >GA<option value="HI" >HI<option value="IA" >IA<option value="ID" >ID<option value="IL" >IL
                                                                    <option value="IN" >IN<option value="KS" >KS<option value="KY" >KY<option value="LA" >LA<option value="MA" >MA
                                                                    <option value="MD" >MD<option value="ME" >ME<option value="MI" >MI<option value="MN" >MN<option value="MO" >MO
                                                                    <option value="MS" >MS<option value="MT" >MT<option value="NC" >NC<option value="ND" >ND<option value="NE" >NE
                                                                    <option value="NH" >NH<option value="NJ" >NJ<option value="NM" >NM<option value="NV" >NV<option value="NY" >NY
                                                                    <option value="OH" >OH<option value="OK" >OK<option value="OR" >OR<option value="PA" >PA<option value="RI" >RI
                                                                    <option value="SC" >SC<option value="SD" >SD<option value="TN" >TN<option value="TX" >TX<option value="UT" >UT
                                                                    <option value="VA" >VA<option value="VT" >VT<option value="WA" >WA<option value="WI" >WI<option value="WV" >WV<option value="WY" >WY
                                                                </select>
                                                                
                           
                           
                           
                           
                                   </td>
                    </tr>
					
                  
					
                    <tr>
                        <td width="40%" valign="top" align="right"><b> Postal Zip Code </b> </td>
                        <td width="60%">
                        <span id=12a>  </span>
                            <input type=text id=12 onmouseout=RequiredFields('12','12a'); onkeyup=RequiredFields2('12','12a'); class=EDITDATA2 name=TPL_zip size=12 value="<?=$_POST[TPL_zip]?>" />
                        </td>
                    </tr>
					


     
     
         <tr>
                        <td width="40%" valign="top" align="right"><font COLOR=#3c5a00 size=+1>
                        <span class=BOLDTEXT>Other Info</font></span>  </td>
                        
                              <td width="60%" align=left>
                          <HR width=60% align=left color=#3c5a00>   
                         </td>  </TR>            
                            
                            
     
     
          
     <tr>
                        <td width="40%" valign="top" align="right"><b> <?print $MSG_252;?> </b> </td>
                        <td width="60%">
                        
                        
                       
                        
                       
                        
                        
                          <!--  <input type=text id=8 class=EDITDATA2 onmouseout=RequiredFields('8','8a'); onkeyup=RequiredFields2('8','8a'); name=TPL_birthdate size=10 maxlength=10 value="<?=$_POST[TPL_birthdate]?>" />          -->
<select id=8 onmouseout=RequiredFields('8','8a'); onmouseover=RequiredFields2('8','8a'); name="TPL_birthmonth" style="width:75px; font-family:Arial, Helvetica, sans-serif; font-size:12px; font-weight:normal; color:#000000;">
 <option value="">Month</option> 
   <option value=<?=$_POST[TPL_birthmonth]; echo " selected"; ?>><?=$_POST[TPL_birthmonth]?></option>

<option value=01>01</option>
<option value=02>02</option>
<option value=03>03</option>
<option value=04>04</option>
<option value=05>05</option>
<option value=06>06</option>
<option value=07>07</option>
<option value=08>08</option>
<option value=09>09</option>
<option value=10>10</option>
<option value=11>11</option>
<option value=12>12</option>
						</select>
            
             
						<select id=8b onmouseout=RequiredFields('8b','8a'); onmouseover=RequiredFields2('8b','8a'); name="TPL_birthday" style="width:50px; font-family:Arial, Helvetica, sans-serif; font-size:12px; font-weight:normal; color:#000000;">

  <option value="">Day</option>
   <option value=<?=$_POST[TPL_birthday]; echo " selected"; ?>><?=$_POST[TPL_birthday]?></option>
<option value="01">01</option>
<option value="02">02</option>
<option value="03">03</option>
<option value="04">04</option>
<option value="05">05</option>
<option value="06">06</option>
<option value="07">07</option>
<option value="08">08</option>
<option value="09">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>

						</select> 
						
						
						
						
<SELECT id=8c onmouseout=RequiredFields('8c','8a'); onmouseover=RequiredFields2('8c','8a'); NAME="TPL_birthyear" style="width:75px; font-family:Arial, Helvetica, sans-serif; font-size:12px; font-weight:normal; color:#000000;">
 <option value="">Year</option> 
<OPTION VALUE=<?=$_POST[TPL_birthyear]; echo " selected"; ?>><?=$_POST[TPL_birthyear]?>
<OPTION VALUE=1910>1910
<OPTION VALUE=1911>1911
<OPTION VALUE=1912>1912
<OPTION VALUE=1913>1913
<OPTION VALUE=1914>1914
<OPTION VALUE=1915>1915
<OPTION VALUE=1916>1916
<OPTION VALUE=1917>1917
<OPTION VALUE=1918>1918
<OPTION VALUE=1919>1919
<OPTION VALUE=1920>1920
<OPTION VALUE=1921>1921
<OPTION VALUE=1922>1922
<OPTION VALUE=1923>1923
<OPTION VALUE=1924>1924
<OPTION VALUE=1925>1925
<OPTION VALUE=1926>1926
<OPTION VALUE=1927>1927
<OPTION VALUE=1928>1928
<OPTION VALUE=1929>1929
<OPTION VALUE=1930>1930
<OPTION VALUE=1931>1931
<OPTION VALUE=1932>1932
<OPTION VALUE=1933>1933
<OPTION VALUE=1934>1934
<OPTION VALUE=1935>1935
<OPTION VALUE=1936>1936
<OPTION VALUE=1937>1937
<OPTION VALUE=1938>1938
<OPTION VALUE=1939>1939
<OPTION VALUE=1940>1940
<OPTION VALUE=1941>1941
<OPTION VALUE=1942>1942
<OPTION VALUE=1943>1943
<OPTION VALUE=1944>1944
<OPTION VALUE=1945>1945
<OPTION VALUE=1946>1946
<OPTION VALUE=1947>1947
<OPTION VALUE=1948>1948
<OPTION VALUE=1949>1949
<OPTION VALUE=1950>1950
<OPTION VALUE=1951>1951
<OPTION VALUE=1952>1952
<OPTION VALUE=1953>1953
<OPTION VALUE=1954>1954
<OPTION VALUE=1955>1955
<OPTION VALUE=1956>1956
<OPTION VALUE=1957>1957
<OPTION VALUE=1958>1958
<OPTION VALUE=1959>1959
<OPTION VALUE=1960>1960
<OPTION VALUE=1961>1961
<OPTION VALUE=1962>1962
<OPTION VALUE=1963>1963
<OPTION VALUE=1964>1964
<OPTION VALUE=1965>1965
<OPTION VALUE=1966>1966
<OPTION VALUE=1967>1967
<OPTION VALUE=1968>1968
<OPTION VALUE=1969>1969
<OPTION VALUE=1970>1970
<OPTION VALUE=1971>1971
<OPTION VALUE=1972>1972
<OPTION VALUE=1973>1973
<OPTION VALUE=1974>1974
<OPTION VALUE=1975>1975
<OPTION VALUE=1976>1976
<OPTION VALUE=1977>1977
<OPTION VALUE=1978>1978
<OPTION VALUE=1979>1979
<OPTION VALUE=1980>1980
<OPTION VALUE=1981>1981
<OPTION VALUE=1982>1982
<OPTION VALUE=1983>1983
<OPTION VALUE=1984>1984
<OPTION VALUE=1985>1985
<OPTION VALUE=1986>1986
<OPTION VALUE=1987>1987
<OPTION VALUE=1988>1988
<OPTION VALUE=1989>1989
<OPTION VALUE=1990>1990
<OPTION VALUE=1991>1991
</SELECT>
						        <span id=8a>  </span>
					 &nbsp;<br><font size=-2>Must be 18 years old or older to sign-up.	</font>
						

                         
                         
                         
                         
                         
                         
                            <?
                            
                            
                          //  if($SETTINGS[datesformat] == "USA") {
                          //  	print $MSG_382;
                         //   } else {
                         //   	print $MSG_383;
                         //   }
                            
                            
  							?>
                        </td>
                    </tr>
					

                  
          
          
          
          
          
          
                             <tr>
                        <td width="40%" valign="top" align="right"><b> Phone # </b> </td>
                        <td width="60%">
                      
                        
                  
                        
                      <!--      <input type=text id=22 onmouseout=RequiredFields('22','22a'); onkeyup=RequiredFields2('22','22a'); class=EDITDATA2 name=TPL_phone size=8 value="<?=$_POST[TPL_phone]?>" />      -->
                      
                     ( <input type=text id=22 onmouseout=RequiredFields('22','22a'); onkeyup=RequiredFields2('22','22a'); class=EDITDATA4 name=TPL_phone1 size=3 maxlength=3 value="<?=$_POST[TPL_phone1]?>" /> ) 
                       &nbsp;<input type=text id=23 onmouseout=RequiredFields('23','22a'); onkeyup=RequiredFields2('23','22a'); class=EDITDATA4 name=TPL_phone2 size=3 maxlength=3 value="<?=$_POST[TPL_phone2]?>" />
                       - <input type=text id=24 onmouseout=RequiredFields('24','22a'); onkeyup=RequiredFields2('24','22a'); class=EDITDATA5 name=TPL_phone3 size=4 maxlength=4  value="<?=$_POST[TPL_phone3]?>" />
                   
               
                   <span id=22a>  </span>    
                      &nbsp;<br><font size=-2>Used only for customer service and shipping contact.	</font>
                      
                     
                      
                        </td>
                    </tr>
                    
                    
                    
          

                 
					<?
                    if($SETTINGS[userscreditcard] == 'y' && $_SERVER[HTTPS] == 'on') {
					?>
                    <tr bgcolor="<?=$SETTINGS[headercolor]?>">
                        <td width="40%" valign="top" align="left"><b>
                            <?=$MSG_5272;?>
                            </b> </td>
                        <td width="60%">
                            <?=$MSG_5273?>
                            <br />
                            <table width="100%" border="0" cellspacing="0" cellpadding="2">
                                <tr>
                                    <td width="25%"><b>
                                        <?=$MSG_5285?>
                                        </b></td>
                                    <td width="75%">
                                        <input type=text class=EDITDATA2 name=TPL_cc size=16 maxlength=16 value="<?=$_POST[TPL_cc]?>" />
                                    </td>
                                </tr>
                                <tr>
                                    <td width="25%"><b>
                                        <?=$MSG_5286?>
                                        </b></td>
                                    <td width="75%">
                                        <input type="text" name="TPL_exp_month" size="2" value="<?=$_POST[TPL_exp_month]?>" />
                                        /
                                        <input type="text" name="TPL_exp_year" size="2" value="<?=$_POST[TPL_exp_year]?>" />
                                        <?=$MSG_5288?>
                                    </td>
                                </tr>
                                <tr>
                                    <td width="25%"><b>
                                        <?=$MSG_5287?>
                                        </b></td>
                                    <td width="75%">
                                        <input type="text" name="TPL_card_owner" value="<?=$_POST[TPL_card_owner]?>" />
                                    </td>
                                </tr>
                                <tr>
                                    <td width="25%"><b>
                                        <?=$MSG_5301?>
                                        </b></td>
                                    <td width="75%">
                                        <input type="text" size=10 name="TPL_card_zip" value="<?=$_POST[TPL_card_zip]?>" />
                                    </td>
                                </tr>
                                
                                
                                
                                
                                
                                
                                
                                
                                
                       
                                                    
                                
                                
                            </table>
                        </td>
                    </tr>
                    <?
                    }
					?>
                    <?
                    if($SETTINGS[newsletter] == 1) {
					?>
                    <tr>
                        <td width="40%" align=right><b><?print $MSG_608;?></b></td>
                        <td width="60%">
                            <input type="radio" name="TPL_nletter" value="1"<? if($_POST[TPL_nletter] == 1 || empty($_POST[TPL_nletter])) print " checked=true";?> />
                            <?=$MSG_030;?>
                            <input type="radio" name="TPL_nletter" value="2"<? if($_POST[TPL_nletter] == 2) print " checked=true";?> />
                            <?=$MSG_029;?>
                        </td>
                    </tr>
                    <?
                    }
					?>
					
					
					 <tr>
                        <td width="40%" valign="top" align="right"><b> Terms & Conditions </b> </td>
                        <td width="60%">
                        <span id=13a>  </span>
                     <input type="checkbox" name="TPL_terms" id=13>By clicking this box, I acknowledge that I am 18 years or older and have read, understood and accept the Qash Qliq <a href="terms_and_conditions.php">Terms and Conditions</a> that govern the use of this website.
                                                      
                        </td>
                        </tr>
                                     
                                
                             <tr>
                        <td width="40%" valign="top" align="right"><b> Privacy Policy </b> </td>
                        <td width="60%">
                        <span id=14a>  </span>
                     <input type="checkbox" name="TPL_privacy" id=14> By clicking this box, I acknowledge I have read, understood and accept the Qash Qliq <a href="privacy_policy.php">Privacy Policy</a> that govern the information of this website. 
			                                 
                        </td>
                        </tr> 
                </table>
                <div style="text-align:center">
                    <?
                    if($SETTINGS[showacceptancetext] == 0) {
					?>
                    <p>
                        <?=nl2br(stripslashes($SETTINGS[acceptancetext]))?>
                    </p>
                    <?
                    }
					?>
                    <input type=hidden name="action" value="first" />
                    <input type="hidden" name="TPL_id_hidden" value="<?=$_POST[TPL_id_hidden]?>" />
                    <input type="hidden" name="TPL_nick_hidden" value="<?=$_POST[TPL_nick_hidden]?>" />
                    <input type="hidden" name="TPL_password_hidden" value="<?=$_POST[TPL_password_hidden]?>" />
                    <input type="hidden" name="TPL_name_hidden" value="<?=$_POST[TPL_name_hidden]?>" />
                    <input type="hidden" name="TPL_email_hidden" value="<?=$_POST[TPL_email_hidden]?>" />
                    
 <input type="hidden" name="TPL_password_backup" value="<?=$TPL_password ?>" />
 
 
 
                    
                          <p>
                    <input type=submit name="" value="Complete Sign-Up" class=button  />
                    <input type=reset name="" value="<?=$MSG_035?>" class=button />
                    
<input type="hidden" name="TPL_country" value="United States" class=button />
                </div>
            </form>
    
  
</div>
</FIELDSET>
</TD>
</TR>
</TABLE>

